#include <head.h>
#define BUFFSIZE 1000
typedef struct train_s
{
    int length;
    char buff[BUFFSIZE];
}train_t;

int transferfile(int peerfd,const char *filename);

